package com.wangshuile.vue.service;

import java.util.Optional;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;

import com.wangshuile.vue.entity.Article;

public interface ArticleService {

	Article save(Article article);

	void deleteById(String articleId);

	Article saveAndFlush(Article article);

	Optional<Article> findById(String articleId);

	Page<Article> findAll(PageRequest of);

}
